#ifndef TEXTURE_H
#define TEXTURE_H

#include <d3d9.h>
#include "Defines.h"

class ENGINE_API Texture{
	DECLARE_SMART_POINTER(Texture);
private:
	string fileName;
	float width;
	float height;
	int r,g,b;
	DWORD color;

public:
	void SetWidht(float w);
	void SetHeight(float h);
	float GetWidht();
	float GetHeight();
	string GetFileName(){
		return fileName;
	}
	void GetColorKey(int& red, int& green,int& blue);
	Texture (string kFilename, int iRed, int iGreen, int iBlue);
	Texture(){};
};

#endif